<?php
/**
 * CreateTime: 2024/1/22 11:30
 * User:LinQ
 */

namespace App\Models\Goods;

use App\Models\BasicModel;

class GoodsTypeModel extends BasicModel
{
    protected $table = 'goods_type';

    protected $primaryKey = 'goods_type_id';

    protected $fillable = [
        'goods_type_id',
        'com_id',
        'goods_type_name',
        'pid',
        'status',
        'created_at',
        'updated_at',
    ];

    protected $casts = [
        'goods_type_id' => 'integer',
        'com_id' => 'integer',
        'goods_type_name' => 'string',
        'pid' => 'integer',
        'status' => 'integer',
        'created_at' => 'string',
        'updated_at' => 'string',
    ];

    protected $hidden = [
        'status',
        'created_at',
        'updated_at',
    ];

}
